package
{
	import com.flashdynamix.utils.SWFProfiler;
	import flash.display.*;
	import model.*;
	import view.*;

	[SWF(width="300", height="400", backgroundColor="#666666", top="50")]
	public class ClickGame extends Sprite
	{
		private var game:Game = new Game();
		private var gameView:GameView = new GameView(game);

		public function ClickGame()
		{
			SWFProfiler.init(this.stage, this);
			
			stage.align = StageAlign.TOP_LEFT;
			
			this.addChild(gameView);
			gameView.DrawAll();
		}
	}
}